package com.jic.interaction.clearAndSettlementSystem.model.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@ApiModel(description = " orders结构")
public class OrdersResponse {
    private static final long serialVersionUID = 1L;
    //订单ID
    @Length(max=64)
    @ApiModelProperty(notes = "订单ID")
    private String orderNo;
    //结算日期yyyy-MM-dd
    @Length(max=15)
    @ApiModelProperty(notes = "结算日期yyyy-MM-dd")
    private String settlementDate;
    //结算金额
    //@Length(max=8)
    @ApiModelProperty(notes = "结算金额")
    private BigDecimal settlementAmount;
    //订单类型订0：正常订单，1：退订单
    @Length(max=1)
    @ApiModelProperty(notes = "订单类型订0：正常订单，1：退订单")
    private String orderType;
}
